package zhongbo.java.air;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@Slf4j
@MapperScan("zhongbo.java.air.flightpath.mapper")
public class AirFlightPathMain {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(AirFlightPathMain.class);
        log.info("---- success ---- {}",context);
        System.out.println("http://localhost:8002/doc.html");
        System.out.println("http://localhost:8001/swagger-ui.html");
    }
}